from django.db import models

# Create your models here.


class User(models.Model):

    username = models.CharField(max_length=80)
    password = models.CharField(max_length=80)
    score = models.IntegerField(default=0)
    code = models.CharField(max_length=80,null=True)



class Cate(models.Model):
    name = models.CharField(max_length=80)
    pid = models.IntegerField(null=True)









